﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logika
{
    public class SnakePart
    {
        Point _center;

        public int Y
        {
            get { return _center.Y; }
            set { _center.Y = value; }
        }

        public int X
        {
            get { return _center.X; }
            set { _center.X = value; }
        }

        public SnakePart() {

            _center = new Point(0, 0); 

        }

        public SnakePart(int x, int y) {

            _center = new Point(x, y);

        }
    }
}
